
#ifndef MPI_SAMPLE_SYS_H
#define MPI_SAMPLE_SYS_H

#include "mpi_lib.h"
#include "mpi_version.h"
#include "mdi_common.h"
#include "lcd_common.h"

#ifdef  __cplusplus
extern "C"
{
#endif


typedef enum
{
    //fw init
    dsp_init_param = 0,
    dsp_log,
    fw_orce,
    fw_me,
    fw_binary,

    //dsp config
    dsp2_info,
    dsp_chip,
    dsp_default_cmd,
    dsp_normal_cmd,
    dsp_result_queue,
    display_vouta_addr,
    display_voutb_addr,
    bsb_desc_addr,
    osd_dram_addr,
    osd_clut_dram_addr,
    tv_dram_addr,
    log_cb_addr,
    disp_bank_addr,

    //bsb
    bsb_buff,
    //dsp mem
    dsp_buff,
    #ifdef MEM_FW_DEBUG
	prevA,
	prevB,
	prevC,
	cvbs_buff,
	capture_buff,
	me1_buff,
	recon_buff,
	col_buff,
	sec_capture_buff,
	sec_me1_buff,
	sec_recon_buff,
	sec_col_buff,
	#endif
    //
    msg_addr_arm_osd,
    isp_aaa_fifo1_base,
    isp_aaa_fifo2_base,
    isp_input_lookup_table,
    isp_matrix_dram_address,
    isp_output_lookup_table,
    isp_chroma_gain_curve,
    isp_hot_pixel_thd_table,
    isp_dark_pixel_thd_table,
    isp_mctf_cfg_addr,
    isp_k0123_table,
    isp_exposure_gain_curve,
    isp_luma_sharpening_alpha_table,
    isp_coeff_fir1_addr,
    isp_coeff_fir2_addr,
    isp_coring_table,
    isp_vignette_r_gain,
    isp_vignette_go_gain,
    isp_vignette_ge_gain,
    isp_vignette_b_gain,
    isp_pixel_map_addr,
    isp_fpn_reg_addr,
    isp_hor_still,
    isp_ver_still,
    isp_eis_enhance_turbo_buf,

	
} sgks_mem_map_id_e;


typedef struct mpi_mem_map_table
{
    sgks_mem_map_id_e   mem_id;
    u32   				phy_addr;
//    u32   				vir_addr;
    u32   				size;
} mpi_mem_map_table_s;

int sgks_mpi_sample_SysInit(sgks_dsp_op_mode_e dsp_op_mode);


#ifdef  __cplusplus
}
#endif

#endif


